<?php
namespace Admin\Controller;
use Think\Controller;


	class CommonController extends Controller{
		public function _initialize(){
			if(empty($_SESSION['admin']))
			{
				$this->error('请登录',U('Login/login'));
			}
		}
	}